package com.cs.common.constants;

public interface RabbitMqConstants {

    String MQ_MAIL_QUEUE = " mq_mail_queue";
    String MQ_PHONE_QUEUE = "mq_phone_queue";
    String MQ_DELAY_QUEUE = "mq_delay_queue"; //死信队列
    String MQ_NORMAL_QUEUE = "mq_normal_queue"; //正常队列


    String MQ_TOPIC_QUEUE_X="mq_topic_queue_x";
    String MQ_TOPIC_QUEUE_Y="mq_topic_queue_y";

    String MQ_FANOUT_EXCHANGE = "mq_fanout_exchange";  //交换机
    String MQ_TOPIC_EXCHANGE = "mq_my_topic_exchange";  //交换机

    String MQ_DELAY_EXCHANGE ="mq_delay_exchange"; //死信交换机
    String MQ_NORMAL_EXCHANGE ="mq_normal_exchange"; //正常交换机

    String MQ_DELAY_ROUTING_KEY = "mq_delay_routingkey";//死信路由
    String MQ_NORMAL_ROUTING_KEY="mq_normal_routingkey";//正常路由


    //参数
    boolean durable = true;
    boolean exclusive = false;
    boolean autoDelete = false;

}


